package com.yaorange.mapper;

import com.yaorange.entity.Book;

import java.util.List;

/**
 * @description: 访问接口
 * @company: yaorange
 * @author: Mr.Liu
 * @version: 1.0
 * @create: 2021-11-23 15:19:24
 */
public interface BookMapper {
    List<Book> selectAll();

    int insert(Book book);

    int update(Book book);

    int delete(Integer id);

    Book select(Integer id);
}
